-- GENERATED SPELL FOR [Gesharahan] --


function spell0_3398(pUnit, Event) --@Deadly Poison,n/a--
pUnit:FullCastSpellOnTarget(3583,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3398', 2000, 1)
end

function Sorts_3398(pUnit, Event)
local choix_sorts_3398 = math.random(0, 0)
if choix_sorts_3398 == 0 then
pUnit:RegisterEvent('spell0_3398', 1, 1)
end
end

function mob3398_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3398', math.random(1500, 3000), 1)
end

function mob3398_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3398_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3398_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3398, 1, 'mob3398_Action')
RegisterUnitEvent(3398, 2, 'mob3398_Leave')
RegisterUnitEvent(3398, 3, 'mob3398_Kill')
RegisterUnitEvent(3398, 4, 'mob3398_Die')
